#include <iostream>
using std::cout;
using std::endl;

class Outer{

public:
    //外部类的成员函数
    void outer_func(){
        //cout << _a << endl;
        //cout << Inner::_sa << endl;
        Inner inner;
    }

private:
    class Inner{
    public:
        //内部类的成员函数
        void inner_func(){
            cout << _sb << endl;
            cout << Outer::_sb << endl;
            Outer outer;
            cout << outer._ob << endl;
        }
        //friend class Outer;

    private:
        int _ia = 10;
        static int _sa;
    };


    void outer_func2(Inner inner){
        cout << inner._ia << endl;
    }

private:
    int _ob = 20;
    static int _sb;
};



void test(){

}

int main()
{
    test();
    return 0;
}

